home *** CD-ROM | disk | FTP | other *** search
- Path: simba.cnsnet.com!usenet
- From: davmp@schema.com (Dave Peterson)
- Newsgroups: comp.lang.rexx
- Subject: Re: Timed pause in REXX
- Date: 1 Feb 1996 11:21:39 GMT
- Organization: Sine Qua Non, Incorporated
- Distribution: inet
- Message-ID: <4eq7o3$p4i@simba.cnsnet.com>
- References: <4einh6$scv@ramp2.tir.com>
- Reply-To: davmp@sinequanon.com (Dave Peterson)
- NNTP-Posting-Host: davmp.cnsnet.com
- X-Newsreader: IBM NewsReader/2 v1.9d - NLS
-
- In <4einh6$scv@ramp2.tir.com>, os2@tir.com (Jason Gottschalk) writes:
- >In message <4e9cf4$2ev@anarchy.io.com> - desantom@io.com (Mike j DeSanto) write
- >s:
- >-|
- >-| I need a Rexx command to pause a program for a given number of seconds.
-
- [snip]
-
- >-|Entertainment magazine. I am using OS/2 Warp and VX-REXX.
-
- [snip]
-
- >Try Call SysSleep Seconds
-
- Why not use VX-REXX's timer object - it allows much more
- precise control (millisecond intervals although the docs say
- OS/2 doesn't guarantee the accuracy with times less than
- 250 milliseconds. You can set it for 10 seconds with a value
- of 10000.
-
- The benefit of this over SysSleep is that the timer method
- allows your program to be doing other things (processing
- user input for instance) while you are waiting. A message
- to a Trigger function is posted to your message queue
- when the time is up. Calling SysSleep keeps your program
- at that point in the code until the specified time is up.
-
- =====================================
- Dave Peterson <davmp@sinequanon.com>
- Sine Qua Non, Incorporated
-
-